//
//  LZFButton.m
//  LZFBuDieJie
//
//  Created by 梁梓烽 on 16/6/21.
//  Copyright © 2016年 liangzifeng. All rights reserved.
//

#import "LZFButton.h"

@implementation LZFButton

-(void)layoutSubviews
{
    [super layoutSubviews];
    
    self.imageView.xmg_centerX=self.xmg_width*0.5;
    self.imageView.xmg_y=0;
    
    
    [self.titleLabel  sizeToFit];
    self.titleLabel.xmg_centerX=self.xmg_width*0.5;
    self.titleLabel.xmg_y=self.xmg_height-self.titleLabel.xmg_height;
    
  
}

@end
